package com.tide.crm.controller;

import com.tide.crm.entity.CegtMdmOrgAdjustRecord;
import com.tide.crm.service.CegtMdmOrgAdjustRecordService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (CegtMdmOrgAdjustRecord)表控制层
 *
 * @author makejava
 * @since 2021-04-22 16:31:13
 */
@RestController
@RequestMapping("cegtMdmOrgAdjustRecord")
public class CegtMdmOrgAdjustRecordController {
    /**
     * 服务对象
     */
    @Resource
    private CegtMdmOrgAdjustRecordService cegtMdmOrgAdjustRecordService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public CegtMdmOrgAdjustRecord selectOne(Long id) {
        return this.cegtMdmOrgAdjustRecordService.queryById(id);
    }

}
